package com.zjdiepu.www.biz.icbc;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zjdiepu.www.base.core.BaseService;
import com.zjdiepu.www.dao.base.OtherAttachmentsMapper;
import com.zjdiepu.www.ibiz.icbc.IGetAtttachmentsService;
import com.zjdiepu.www.model.base.dto.OtherAttachments;
import com.zjdiepu.www.model.base.ext.OtherAttachmentsExt;
@Service
public class GetAttachmentsServiceImpl extends BaseService implements IGetAtttachmentsService{

	@Autowired
	private OtherAttachmentsMapper otherAttachmentsMapper;
	
	
	public List<OtherAttachments> getAttachmentsByDataId(String dataId){
		OtherAttachmentsExt otherAttachmentsExt=new OtherAttachmentsExt();
		otherAttachmentsExt.withOutPage();
		otherAttachmentsExt.setBaseWhere();
		otherAttachmentsExt.setDataid(dataId);
		return otherAttachmentsMapper.selectByExt(otherAttachmentsExt);
		
	}
}
